Fix FTBFS in serial build
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Fri, 13 Feb 2026 14:01:49 +0000 (15:01 +0100)
committerSébastien Villemot <sebastien@debian.org>
Fri, 13 Feb 2026 14:01:49 +0000 (15:01 +0100)
Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/commit/874243421298866d116e1e8bdbd7e0ed4e31e4f6
Bug: https://github.com/OpenMathLib/OpenBLAS/issues/5607
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2026-02-03

Last-Update: 2026-02-03
Gbp-Pq: Name ftbfs-serial.patch

driver/others/CMakeLists.txt
driver/others/Makefile

index a07a0baf9957934c74b6ad6515cf8a93259e31f7..72abdc4ee47bb64ff380dd5b101c94c654245ac3 100644 (file)
@@ -27,7 +27,6 @@ if (USE_THREAD)
     ${BLAS_SERVER}
     divtable.c # TODO: Makefile has -UDOUBLE
     blas_l1_thread.c
-    blas_server_callback.c
   )
 
   if (NOT NO_AFFINITY)
@@ -42,6 +41,7 @@ set(COMMON_SOURCES
   openblas_env.c
   openblas_get_num_procs.c
   openblas_get_num_threads.c
+  blas_server_callback.c
 )
 
 # these need to have NAME/CNAME set, so use GenerateNamedObjects, but don't use standard name mangling
index 719d617c45580d0200fa8af2b1e09333ed610b3a..fbd016e6b05351e574d7014bbb5fd2e00ef0d2f7 100644 (file)
@@ -1,12 +1,12 @@
 TOPDIR = ../..
 include ../../Makefile.system
 
-COMMONOBJS      = memory.$(SUFFIX) xerbla.$(SUFFIX) c_abs.$(SUFFIX) z_abs.$(SUFFIX) openblas_set_num_threads.$(SUFFIX) openblas_get_num_threads.$(SUFFIX) openblas_get_num_procs.$(SUFFIX) openblas_get_config.$(SUFFIX) openblas_get_parallel.$(SUFFIX) openblas_error_handle.$(SUFFIX) openblas_env.$(SUFFIX)
+COMMONOBJS      = memory.$(SUFFIX) xerbla.$(SUFFIX) c_abs.$(SUFFIX) z_abs.$(SUFFIX) openblas_set_num_threads.$(SUFFIX) openblas_get_num_threads.$(SUFFIX) openblas_get_num_procs.$(SUFFIX) openblas_get_config.$(SUFFIX) openblas_get_parallel.$(SUFFIX) openblas_error_handle.$(SUFFIX) openblas_env.$(SUFFIX) blas_server_callback.$(SUFFIX)
 
 #COMMONOBJS    += slamch.$(SUFFIX) slamc3.$(SUFFIX) dlamch.$(SUFFIX)  dlamc3.$(SUFFIX)
 
 ifdef SMP
-COMMONOBJS     += blas_server.$(SUFFIX) divtable.$(SUFFIX) blasL1thread.$(SUFFIX) blas_server_callback.$(SUFFIX)
+COMMONOBJS     += blas_server.$(SUFFIX) divtable.$(SUFFIX) blasL1thread.$(SUFFIX)
 ifneq ($(NO_AFFINITY), 1)
 COMMONOBJS     += init.$(SUFFIX)
 endif